using System;
using System.Collections.Generic;
using System.Linq;

namespace CodeDom
{
  public class TemplateFieldEqualityComparer : IEqualityComparer<TemplateField>
  {
    #region IEqualityComparer<TemplateField> Members

    public bool Equals(TemplateField x, TemplateField y)
    {
      return x.ID.Equals(y.ID);
    }

    public int GetHashCode(TemplateField obj)
    {
      return obj.ID.GetHashCode();
    }

    #endregion
  }
}